<?php if (isset($_POST['featurevid'])){
	$custom = get_post_custom($post->ID);
	$featurevid = $custom['featurevid'][0];
} ?>

<!-- BEGIN .post class -->
<div <?php post_class('clearfix'); ?> id="post-<?php the_ID(); ?>">

	<h2 class="headline small"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

	<div class="post-author">
		<p class="align-left">
			<span><i class="icon-time"></i> &nbsp;<?php the_time(__("F j, Y", 'vnnews')); ?></span>
			<span><i class="icon-user"></i> &nbsp;<?php _e("By: ", 'vnnews'); ?><?php esc_url ( the_author_posts_link() ); ?></span>
			<span><i class="icon-folder-open"></i> &nbsp;<?php _e("Category:", 'vnnews'); ?> <?php the_category(', '); ?></span>
		</p>
		<p class="align-right">
			<i class="icon-comment"></i> &nbsp;<a class="scroll" href="<?php the_permalink(); ?>#comments"><?php comments_number(__("Leave a Comment", 'vnnews'), __("1 comment", 'vnnews'), '% comments'); ?></a>
		</p>
	</div>

	<?php if ( get_post_meta($post->ID, 'featurevid', true) ) { ?>
		<div class="feature-vid"><?php echo get_post_meta($post->ID, 'featurevid', true); ?></div>
	<?php } else { ?>
		<?php if ( has_post_thumbnail()) { ?>
			<a class="feature-img" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( '%s', 'vnnews' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_post_thumbnail( 'featured-large' ); ?></a>
		<?php } ?>
	<?php } ?>

	<?php the_excerpt();

	$tag_list = get_the_tag_list( __( ", ", 'organization' ) );

	if ( ! empty( $tag_list ) ) { ?>
		<div class="post-meta radius-full">
			<p>
				<i class="icon-tags"></i> &nbsp;<?php _e("Tags: ", 'organization'); ?> <?php the_tags(''); ?>
			</p>
		</div>
	<?php } ?>

	<a class="post-readmore" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Read more...</a>

<!-- END .post class -->
</div>